package com.caishi.lkx.course.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.caishi.lkx.course.model.LiveModel;
import com.zzw.common.entity.IBaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;


public interface LiveMapper extends IBaseMapper<LiveModel, String> {
    IPage<LiveModel> liveByColumnIdPage(Page<LiveModel> page, @Param("param") Map<String,Object> param);

    IPage<LiveModel> list(Page<LiveModel> page,@Param("categoryId") Long categoryId);
    LiveModel getDetail(String id);

    IPage<LiveModel> list1(Page<LiveModel> page, @Param("param") Map<String, Object> param);
}
